package pers.qianyu.diytomcat.constants;

import cn.hutool.system.*;

import java.io.*;

/**
 * @author mizzle rain
 * @date 2021-01-07 11:52
 */
public interface Locations {
    File WEBAPPS_FOLDER = new File(SystemUtil.get("user.dir"), "webapps");
    File ROOT_FOLDER = new File(WEBAPPS_FOLDER, "ROOT");
    File CONF_FOLDER = new File(SystemUtil.get("user.dir"), "conf");
    File SERVER_XML = new File(CONF_FOLDER, "server.xml");
    File WEB_XML = new File(CONF_FOLDER, "web.xml");
    File CONTEXT_XML = new File(CONF_FOLDER, "context.xml");
    String WORK_FOLDER_PATH = SystemUtil.get("user.dir") + File.separator + "work";
}
